package com.kevin.learn.test;

import java.io.Serializable;
import java.util.List;

public class LxSelectBean implements Serializable {

    /**
     * has_more : false
     * user_list : [{"staff_id":"fb9627ec1127415cbcb1bbf0968f26be","departments":[{"id":"1","name":"深圳吉祥服务"}]},{"staff_id":"13058109921","departments":[{"id":"1","name":"深圳吉祥服务"}]},{"staff_id":"LX001","departments":[{"id":"1","name":"深圳吉祥服务"}]}]
     * msg : success
     * code : 0
     */

    private boolean has_more;
    private List<UserListDTO> user_list;
    private String msg;
    private int code;

    public boolean isHas_more() {
        return has_more;
    }

    public void setHas_more(boolean has_more) {
        this.has_more = has_more;
    }

    public List<UserListDTO> getUser_list() {
        return user_list;
    }

    public void setUser_list(List<UserListDTO> user_list) {
        this.user_list = user_list;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class UserListDTO {
        /**
         * staff_id : fb9627ec1127415cbcb1bbf0968f26be
         * departments : [{"id":"1","name":"深圳吉祥服务"}]
         */

        private String staff_id;
        private List<DepartmentsDTO> departments;

        public String getStaff_id() {
            return staff_id;
        }

        public void setStaff_id(String staff_id) {
            this.staff_id = staff_id;
        }

        public List<DepartmentsDTO> getDepartments() {
            return departments;
        }

        public void setDepartments(List<DepartmentsDTO> departments) {
            this.departments = departments;
        }

        public static class DepartmentsDTO {
            /**
             * id : 1
             * name : 深圳吉祥服务
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
